<!doctype html>
<html>

	<head>
		<meta charset="UTF-8">
		<title>分类详情</title>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<link href="css/mui.min.css" rel="stylesheet" />
		<link rel="stylesheet" type="text/css" href="css/muiReset.css" />
		<style type="text/css">
			body,
			html {
				background-color: white
			}
			.mui-table-view.mui-grid-view .mui-table-view-cell .mui-media-body {
				font-size: 15px;
				line-height: 15px;
				display: block;
				width: 100%;
				height: auto;
				margin-top: 8px;
				text-overflow: ellipsis;
				color: #333;
			}
			
			.price {
				margin-top: 5px;
				color: #FF5053;
			}
			
			.mui-grid-view.mui-grid-9 .mui-table-view-cell {
				border-right: 1px solid #eee;
				border-bottom: 1px solid #eee;
			}
			
			.mui-grid-view.mui-grid-9 .mui-table-view-cell>a:not(.mui-btn) {
				padding: 0;
			}
			
			.mui-table-view.mui-grid-view .mui-table-view-cell .mui-media-body {
				margin-top: 0;
			}
			
			.mui-table-view.mui-grid-view .mui-table-view-cell.active {
				background-color: red;
			}
			
			.mui-table-view.mui-grid-view .mui-table-view-cell.active a div {
				color: white;
			}
			
			.mui-segmented-control.mui-segmented-control-inverted .mui-control-item.mui-active {
				border: 0;
				color: red;
			}
			
			fieldset {
				border-left: 0;
				border-right: 0;
				border-bottom: 0;
				padding: 0;
				margin: 0;
				margin: 20px 0;
			}
			
			legend {
				text-align: center;
			}
			.top44 {
				top:44px
			}
		</style>
	</head>

	<body>
		<script src="js/mui.min.js"></script>
		<script type="text/javascript">
			mui.init()
		</script>
		<header class="mui-bar mui-bar-nav">
			<a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
			<h1 class="mui-title">头部</h1>
		</header>
		<div class="mui-content">
			<div class="mui-scroll-wrapper top44">
				<div class="mui-scroll">
					<!-- 横向滑动导航 -->
					<div class="mui-scroll-wrapper mui-slider-indicator mui-segmented-control mui-segmented-control-inverted">
						<div class="mui-scroll">
							<a class="mui-control-item mui-active">
								item1
							</a>
							<a class="mui-control-item">
								item2
							</a>
							<a class="mui-control-item">
								item3
							</a>
							<a class="mui-control-item">
								item4
							</a>
							<a class="mui-control-item">
								item5
							</a>
							<a class="mui-control-item">
								item6
							</a>
							<a class="mui-control-item">
								item7
							</a>
							<a class="mui-control-item">
								item8
							</a>
						</div>
					</div>
					<!-- 轮播区域 -->
					<div id="slider" class="mui-slider">
						<div class="mui-slider-group mui-slider-loop">
							<!-- 额外增加的一个节点(循环轮播：第一个节点是最后一张轮播) -->
							<div class="mui-slider-item mui-slider-item-duplicate">
								<a href="#">
									<img src="img/p8.jpg">
								</a>
							</div>
							<!-- 第一张 -->
							<div class="mui-slider-item">
								<a href="#">
									<img src="img/p5.jpg">
								</a>
							</div>
							<!-- 第二张 -->
							<div class="mui-slider-item">
								<a href="#">
									<img src="img/p6.jpg">
								</a>
							</div>
							<!-- 第三张 -->
							<div class="mui-slider-item">
								<a href="#">
									<img src="img/p7.jpg">
								</a>
							</div>
							<!-- 第四张 -->
							<div class="mui-slider-item">
								<a href="#">
									<img src="img/p8.jpg">
								</a>
							</div>
							<!-- 额外增加的一个节点(循环轮播：最后一个节点是第一张轮播) -->
							<div class="mui-slider-item mui-slider-item-duplicate">
								<a href="#">
									<img src="img/p5.jpg">
								</a>
							</div>
						</div>
						<div class="mui-slider-indicator">
							<div class="mui-indicator mui-active"></div>
							<div class="mui-indicator"></div>
							<div class="mui-indicator"></div>
							<div class="mui-indicator"></div>
						</div>
					</div>
					<!-- 筛选 -->
					<div class="searchBox">
						<ul class="mui-table-view mui-grid-view mui-grid-9">
							<li class="mui-table-view-cell mui-media mui-col-xs-3 mui-col-sm-3 active_items">
								<a href="#">
									<div class="mui-media-body">按销量</div>
								</a>
							</li>
							<li class="mui-table-view-cell mui-media mui-col-xs-3 mui-col-sm-3 active_items">
								<a href="#">
									<div class="mui-media-body">按时间</div>
								</a>
							</li>
							<li class="mui-table-view-cell mui-media mui-col-xs-3 mui-col-sm-3 active_items">
								<a href="#">
									<div class="mui-media-body">按评价</div>
								</a>
							</li>
							<li class="mui-table-view-cell mui-media mui-col-xs-3 mui-col-sm-3">
								<a href="#">
									<div class="mui-media-body">筛选</div>
								</a>
							</li>
						</ul>
					</div>
					<!-- 筛选内容 -->
					<ul class="mui-table-view mui-grid-view">
						<li class="mui-table-view-cell mui-media mui-col-xs-6">
							<a href="#">
								<img class="mui-media-object" src="img/84183816_0_0_0_57E9F66A3C50ACF363534E0C907B9E12_1.gif">
								<div class="mui-media-body">
									<p class="name">进口的小孩子</p>
									<p class="price">¥30.00</p>
								</div>
							</a>
						</li>
						<li class="mui-table-view-cell mui-media mui-col-xs-6">
							<a href="#">
								<img class="mui-media-object" src="img/84183816_0_0_0_57E9F66A3C50ACF363534E0C907B9E12_1.gif">
								<div class="mui-media-body">
									<p class="name">进口的小孩子</p>
									<p class="price">¥30.00</p>
								</div>
							</a>
						</li>
					</ul>
					<!-- 最近浏览 -->
					<fieldset>
						<legend>&nbsp;&nbsp;您最近浏览过的&nbsp;&nbsp;</legend>
					</fieldset>
					<ul class="mui-table-view mui-grid-view">
						<li class="mui-table-view-cell mui-media mui-col-xs-6">
							<a href="#">
								<img class="mui-media-object" src="img/84183816_0_0_0_7012111550D668059CE97FB19C6C731D_1.gif">
								<div class="mui-media-body">
									<p class="name">进口的小孩子</p>
									<p class="price">¥30.00</p>
								</div>
							</a>
						</li>
						<li class="mui-table-view-cell mui-media mui-col-xs-6">
							<a href="#">
								<img class="mui-media-object" src="img/84183816_0_0_0_7012111550D668059CE97FB19C6C731D_1.gif">
								<div class="mui-media-body">
									<p class="name">进口的小孩子</p>
									<p class="price">¥30.00</p>
								</div>
							</a>
						</li>
					</ul>
				</div>
			</div>
		</div>
	</body>
	<script src="js/zepto_1.1.3.js" type="text/javascript" charset="utf-8"></script>
	<script type="text/javascript">
		var gallery = mui('.mui-slider');
		gallery.slider({
			interval: 5000 //自动轮播周期，若为0则不自动播放，默认为0；
		});
		mui('.mui-scroll-wrapper').scroll({
			deceleration: 0.0005 //flick 减速系数，系数越大，滚动速度越慢，滚动距离越小，默认值0.0006
		});
		$('.searchBox').on('tap', '.active_items', function() {
			$(this).siblings().removeClass('active');
			$(this).addClass('active')
		})
	</script>

</html>